<div class="mymsg" id='row_<?= $row['sms_id']?>'>
	<div class="msg-main system-msg">
		<div class="msg-title">	
			<div class="msg-tools">
			<a href="<?= $this->_makeURL('sms', 'system', 'remove')?>?id=<?=$row['sms_id']?>" class="delete-link">删除</a></div>
			<div class="msg-time"><span ><input type="checkbox"  name="sms_id" id="sms_id" value="<?=$row['sms_id']?>" onclick="checkMySelect()"></span>
			<?= ($row['unread']==0)?'<span class="title-icon">NEW!</span>':''?><span><?= Util::formatTime($row['create_time'])?></span></div>
		</div>
		
		<div class="msg-content">
		<?if($row['title']):?>
			<h3><?= $row['title']?></h3>
		<?endif;?>	
			<script>
				UBBCode.output("<?= sms_util_text::formatOutputContent($row['content'],false)?>");
			</script>  
	 	</div>
        <div class="aer-b" style="margin-top:20px;" id='msg_<?= $row['sms_id']?>'>
		<? if(key_exists('return', $row)) :?>
		<?= $row['return'] ?>
		<?else:?>
		<?= $row['related_links'] ?>
		<?endif;?>
		</div><!--aer-b-->
	</div>
    <!-- <div class="msg-icon msg-<?=in_array($row['sender_name'],array('friends','cite','nga'))?$row['sender_name']:'nga' ?>"></div> -->
    <div class="<?=sms_util_text::getStyle($row['sender_name'])?>"></div>
</div>
